package com.catchu.pattern.creational.模板方法模式;

public class ConcreteClass1 extends BaseTemplate {
    @Override
    protected void method1() {
        System.out.println("ConcreteClass1:method1");
    }

    @Override
    protected void method2() {
        System.out.println("ConcreteClass1:method2");
    }

    @Override
    protected boolean hookMethod() {
        return true;
    }
}
